// src/utils/eventBus.ts
import mitt from 'mitt'

type Events = {
  clearSelection: string | null
}

const eventBus = mitt<Events>()

export default eventBus
